[#Part: CMP TallyShopFeatures Left]
	Add : Line  : 	 Enable_SortOnTWS

[Line :  Enable_SortOnTWS]
    Field : medium prompt ,Enable_SortOnTWS
    Local : field : medium prompt : set as : "Table of Pending Bills Sorting On ?"
    Local : Field : Medium Prompt : width : 35

    space top : 0.2 cm
   
[Field :  Enable_SortOnTWS]
   Use 		: Name field
   Storage 	: Enable_SortOnTWS
   Table	: Enable_SortOnTWS 
   Show Table:On Empty
   Width	: 35
   
[Collection:Enable_SortOnTWS]
	Title:"Pending Bills Sorting On"
	List:"Bill Date wise Sorting (Ascending)"
	List:"Due Date wise Sorting (Ascending)"
  
[System: udf]
	Enable_SortOnTWS : String	: 193
	
[System: formula]
	Enable_SortOnTWS 			: $Enable_SortOnTWS:company:##svcurrentcompany
	
[System: formula]
	Enable_SortOnTWSBillDate 	: @@Enable_SortOnTWS = "Bill Date wise Sorting (Ascending)"
	Enable_SortOnTWSBillDue 	: @@Enable_SortOnTWS = "Due Date wise Sorting (Ascending)"
	
[#Collection: PendingBills]
	Add	: Option	: PendingBillsSort_TWSBillDate 	: @@Enable_SortOnTWSBillDate
	Add	: Option	: PendingBillsSort_TWSDueDate 	: @@Enable_SortOnTWSBillDue
	
[!Collection: PendingBillsSort_TWSBillDate]
	TableSort		: $$Date:$BillDate
	delete			: Column Align
	add				: Column Align   : Left, Right, Right, Right
	
[!Collection: PendingBillsSort_TWSDueDate]
	Add : Format	: At End : (@@CreditPeriod),10 : UniversalDate
	TableSort		: $$Date:@@CreditPeriod
	Sub Title   	: $$LocaleString:"Name", $$LocaleString:"Date", $$LocaleString:"DueDate", $$LocaleString:"Balance"
	delete			: Column Align 
	add				: Column Align   : Left, Right, Right, Right, Right